package com.big.model.model.merchandise;


import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.HashMap;
import java.util.Map;

@Data
@ApiModel(description = "商品规格价格")
@TableName("merchandise_specification_package")
public class MerchandiseSpecificationPackage {

    @ApiModelProperty(value = "规格编号811开头")
    @TableField("spe_pack_id")
    private Long spePackId;

    @ApiModelProperty(value = "商品编号")
    @TableField("m_id")
    private Long mId;

    @ApiModelProperty(value = "套餐照片")
    @TableField("image")
    private String image;

    @ApiModelProperty(value = "硬盘规格")
    @TableField("hdd")
    private Integer hdd;

    @ApiModelProperty(value = "运行内存")
    @TableField("run_memory")
    private Integer runMemory;


    @ApiModelProperty(value = "cpu")
    @TableField("cpu")
    private Integer cpu;


    @ApiModelProperty(value = "显卡")
    @TableField("gpu")
    private Integer gpu;


    @ApiModelProperty(value = "价格")
    @TableField("total_price")
    private double totalPrice;


    @ApiModelProperty(value = "其他参数")
    @TableField(exist = false)
    private Map<String,Object> param = new HashMap<>();




}
